]> dgit.raspbian.org Git - gnome-shell.git/commit
bluetooth: Add getDeviceInfos function
authorMariana Picolo <marianapicolo@hotmail.com>
Mon, 30 Mar 2020 08:48:06 +0000 (05:48 -0300)
committerMariana Pícolo <marianapicolo@hotmail.com>
Thu, 2 Apr 2020 00:15:37 +0000 (00:15 +0000)
commit26c2cb9f65cfca25c3affc38dbbad46593b5de19
treee6fbd21c479fcde3c98150bf51e6fd91f0a32b96
parentda44649e6f2bf9fb5692cd269c05b79ce9cc00cb
bluetooth: Add getDeviceInfos function

In case where only one device is connected, we want to display its name
in the menu. For that we will need more than the number of known/connected
devices, so change the function to return an array of device infos instead.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2340
js/ui/status/bluetooth.js